//
//  NoodleType.h
//  demo_3
//
//  Created by 才 陈 on 12-4-1.
//  Copyright (c) 2012年 sjtu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IngredientType.h"
#import "Prescription.h"
#import "commons.h"

@interface NoodleType : NSObject {
@private
    NSString *typeId;
    NSString *typeName;
    NSString *displayText;
    int score;
    NSArray *prescription;
}

-(id) init:(NSString *)tid :(NSString *) typeName :(int)score :(NSArray *)ingredients;

@property (nonatomic, retain) NSString *typeName;
@property (nonatomic, retain) NSArray *prescription;
@property (nonatomic, retain) NSString *displayText;
@property (assign) int score;

+(NSDictionary *) noodleTypes:(NSDictionary *)props :(NSDictionary *)ingredientTypes;
+(NoodleType *) nextBowlOfNoodleType:(int)totalScore;

@end
